Avoid ccache and distcc for x86-64 compilation of ia32/syscall32.c
authorMichael.Fetterman@cl.cam.ac.uk <Michael.Fetterman@cl.cam.ac.uk>
Wed, 23 Nov 2005 13:55:08 +0000 (14:55 +0100)
committerMichael.Fetterman@cl.cam.ac.uk <Michael.Fetterman@cl.cam.ac.uk>
Wed, 23 Nov 2005 13:55:08 +0000 (14:55 +0100)
syscall32.c currently contains inline asm which has .incbin directives.
This defeats ccache's signature checks, and also breaks distcc.
Make sure neither ccache nor distcc compiles this file.

Signed-off-by: Michael.Fetterman@cl.cam.ac.uk
linux-2.6-xen-sparse/arch/xen/x86_64/ia32/Makefile

index 6ba237b6824fedbccb1376c0370e997e38101d12..ebb06316d50b61fc7e8a7947f6642681d6056111 100644 (file)
@@ -21,6 +21,12 @@ c-obj-$(CONFIG_IA32_AOUT) += ia32_aout.o
 $(obj)/syscall32.o: $(src)/syscall32.c \
        $(foreach F,int80 sysenter syscall,$(obj)/vsyscall-$F.so)
 
+# syscall32.c currently contains inline asm which has .incbin directives.
+# This defeats ccache's signature checks, and also breaks distcc.
+# Make sure neither ccache nor distcc compiles this file.
+#
+$(obj)/syscall32.o: override CC := env CCACHE_DISABLE=1 DISTCC_HOSTS=localhost $(CC)
+
 # Teach kbuild about targets
 targets := $(foreach F,int80 sysenter syscall,vsyscall-$F.o vsyscall-$F.so)